#ifndef INSPECTION_H
#define INSPECTION_H
#include <vcl.h>
#include "VisShop.h"
#include "VisLoan.h"


class Inspect
{
	private:
	  int TotVis, WilVis, EveVis, CampVis, LeftVis, CSID, itPrice, itAvai, itSold, UID;
	  double curBalance, totDep, itSoldMoney, VisMon, VisBal, Extra;
	  AnsiString campStat, campDesc, FName, LName, visStat, DoB, email, DoR, EntFee;
	  VisShop* VisSDat;
	  VisLoan* VisLDat;
	public:
	  Inspect();
	  // Get all combo box filled with their proper data
	  int getTotalVisitor();
	  // Get the total number of visitor
	  int getWillVisitor();
	  // Get the number of visitor that haven't yet visited
	  int getEventVisitor();
	  // Get the number of visitor currently at the event
	  int getCampingVisitor();
	  // Get the number of visitor currently at the camping site
	  int getLeftVisitor();
	  // Get the number of visitor who left already

	  double getCurrentBalance();
	  // Get the amount of the current balance of all visitor
	  double getTotalDeposit();
	  // Get the amount of the total deposit of all visitor
	  void getVisData(int);
	  // Get the data of visitor with certain UID
	  void getVisData(AnsiString, AnsiString);
	  // Get the data of visitor with firstname and lastname equal to the one entered

			int getUID();
			AnsiString getName();
			AnsiString getDoB();
			AnsiString getEmail();
			AnsiString getDoR();
			double getVisMon();
			AnsiString getEntFee();
			double getVisBal();
			double getExtra();
			int getCSID();
			AnsiString getVisStat();


	  void getCampData(int);
	  // Get the data of a certain camp site
		   AnsiString getCampDesc(int);
		   AnsiString getCampStat(int);

	  void getShopData(int);
	  // Get the data of a certain shop
	  void getLoanData(int);
	  // Get the data of a certain Loan Stand
	  void getItemData(AnsiString);
	  // Get the data of a certain item
	  void getVisShop(int, int);
	  // Get the record of every items purchased by a visitor
	  void getVisLoan(int, int);
	  // Get the record of every items borrowed by a visitor



};
#endif
